import instance from './instance'
import { LocationQueryValue} from 'vue-router'


export const getArticle = (id:LocationQueryValue)=>{
    return instance.get('/article',{
        params:{id}
    })
}
export const getArticleList = () =>{
    return instance.get('/articleList')
}
export const getUpdate = () =>{
    return instance.get('/updateRecord')
}